package live.ifox.toolbox;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;

import live.ifox.factory.PermissionInfo;

public class MainActivity extends AppCompatActivity {
    Button btn_system_info, btn_permission_info;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        btn_system_info = findViewById(R.id.btn_system_info);
        btn_permission_info = findViewById(R.id.btn_permission_info);

        btn_system_info.setOnClickListener((view) ->
                startActivity(new Intent(this, SystemInfoActivity.class)));

        btn_permission_info.setOnClickListener((view) ->
                startActivity(new Intent(this, PermissionActivity.class)));
    }
}
